# -------------------- # CodeSkulptor - Graphs and Plots [Challenge 1] # [Challenge Prompt]: Find some data online and build a small graph from it! # [Made by]: Kevin J. # -------------------- # [Date]: Tuesday, July 29, 2025 # -------------------- # Setup the environment using simpleplot. import simpleplot # Set the dictionaries for the data. OlatheEast = { 2015: 24.6, 2016: 24.2, 2017: 24.0, 2018: 23.8, 2019: 22.7, 2020: 22.0, 2021: 21.5, 2022: 21.6, 2023: 20.9, 2024: 20.7 } OlatheNorth = { 2015: 22.9, 2016: 23.1, 2017: 22.4, 2018: 22.7, 2019: 23.0, 2020: 22.5, 2021: 23.1, 2022: 22.4, 2023: 22.4, 2024: 22.8 } OlatheNorthwest = { 2015: 24.6, 2016: 24.5, 2017: 24.7, 2018: 24.9, 2019: 24.9, 2020: 24.9, 2021: 23.9, 2022: 22.4, 2023: 22.1, 2024: 21.4 } OlatheSouth = { 2015: 23.7, 2016: 23.8, 2017: 23.5, 2018: 23.8, 2019: 23.1, 2020: 22.3, 2021: 21.5, 2022: 22.0, 2023: 21.4, 2024: 22.2 } OlatheWest = { 2020: 20.8, 2021: 20.9, 2022: 20.5, 2023: 20.7, 2024: 21.0 } # Create the plot as a line plot. simpleplot.plot_lines('ACT Scores for Olathe High Schools in USD 233', 1000, 750, 'Year', 'ACT Score', [OlatheEast, OlatheNorth, OlatheNorthwest, OlatheSouth, OlatheWest], True, ['Olathe East', 'Olathe North', 'Olathe Northwest', 'Olathe South', 'Olathe West'])